package com.agileboot.attendance.common.enums;

import com.agileboot.common.enums.BasicEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 加班类型枚举
 *
 * @author ruoyi
 */
@Getter
@AllArgsConstructor
public enum OvertimeTypeEnum implements BasicEnum<String> {

    /**
     * 工作日加班
     */
    WORKDAY("1", "工作日加班"),

    /**
     * 休息日加班
     */
    RESTDAY("2", "休息日加班"),

    /**
     * 节假日加班
     */
    HOLIDAY("3", "节假日加班");

    private final String value;
    private final String description;
    
    @Override
    public String getValue() {
        return value;
    }
    
    @Override
    public String description() {
        return description;
    }
} 